#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
/*int main() {
	int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
	int* p = &arr[0];
	int sz = sizeof(arr) / sizeof(arr[0]);
	for (int i = 0; i < sz; i++) {
		printf("%d ", *(p + i));
	}
	return 0;
}*/
size_t my_strlen(char* s) {
	size_t  count = 0;
	while (*s != '\0') {
		count++;
		s++;
	}
	return count;
}
int main() {
	char arr[] = "abcdef";
	size_t sz = my_strlen(arr);
	printf("%zd", sz);
	return 0;
}